package com.zxg.zbc.dal.dataobject;

import java.io.Serializable;
import java.util.Date;

import com.jdbc.annotation.TableID;
import com.jdbc.annotation.TableName;
@TableName(name = User.TABLE_NAME)
public class User implements Serializable{

	public final static String TABLE_NAME = "user";
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@TableID
	private Long id;
	private String userNick;
	

	private Date lastLoginTime;
	
	private Date firstLoginTime;
	
	private Integer status;
	
	private Integer version;
	

	private String mobile;
	
	private String email;
	
	private String sign;
	/**
	 * 过期时间
	 */
	private Date deadLine;
		
	
	private Date gmtModified;
	private Date gmtCreated;
	
	
	
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	
	
	
	public boolean needRefreshRefreshToken(){
		
		
		return false;
	}
	public String getUserNick() {
		return userNick;
	}
	public void setUserNick(String userNick) {
		this.userNick = userNick;
	}
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public Date getFirstLoginTime() {
		return firstLoginTime;
	}
	public void setFirstLoginTime(Date firstLoginTime) {
		this.firstLoginTime = firstLoginTime;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getVersion() {
		return version;
	}
	public void setVersion(Integer version) {
		this.version = version;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Date getDeadLine() {
		return deadLine;
	}
	public void setDeadLine(Date deadLine) {
		this.deadLine = deadLine;
	}
	public Date getGmtModified() {
		return gmtModified;
	}
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	public Date getGmtCreated() {
		return gmtCreated;
	}
	public void setGmtCreated(Date gmtCreated) {
		this.gmtCreated = gmtCreated;
	}
	
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	
	
	
}
